package com.ruoyi.odorservice.model.vo;

import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OdorProfileVo {

    @ApiModelProperty("点位名称")
    private String siteName;

    @ApiModelProperty("气味列表")
    private List<SiteOdor> odorList;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public static class SiteOdor {

        @ApiModelProperty("气味名称")
        private String odorName;

        @ApiModelProperty("气味强度")
        private Double odorWeight;

    }

}
